package com.workflow.workflowproject.service;

import com.mybatisflex.core.service.IService;
import com.workflow.workflowproject.entity.FlowVersion;
import com.workflow.workflowproject.tools.Result.Result;
import org.springframework.web.bind.annotation.RequestBody;

public interface FlowVersionService extends IService<FlowVersion> {
    /**
     * 添加流程版本信息
     *
     * @param
     * @return
     */
    Result addFlowVersion(FlowVersion flowVersion) throws Exception;
    /**
     * 查询所有流程版本信息
     *
     * @param
     * @return
     */
    Result getAllFlowVersion(Integer flowInfoId) throws Exception;
}
